/*
 * @: 
 * @Version: 1.0
 * @Autor: ziwei
 * @Date: 2021-11-01 18:43:12
 * @LastEditors: ziwei
 * @LastEditTime: 2021-11-01 18:46:26
 */
export const CALL_HISTORY_METHOD = '@@router/CALL_HISTORY_METHOD';

//actionCreator 动作的创建者
function push(path) {
  return {
    type:CALL_HISTORY_METHOD,
    payload:{//迭代数据 history.push(path)
      method:"push",
      path
    }
  }
}

export default push;